<?php
namespace control;

//errorCode.php
/**
 * error code 说明.
 * <ul>
 *    <li>-900004: encodingAesKey 非法</li>
 *    <li>-900005: 签名验证错误</li>
 *    <li>-900006: sha加密生成签名失败</li>
 *    <li>-900007: aes 加密失败</li>
 *    <li>-900008: aes 解密失败</li>
 *    <li>-900010: suiteKey 校验错误</li>
 * </ul>
 */
class ErrorCode
{
    public static int $OK = 0;
    public static int $IllegalAesKey = 900004;
    public static int $ValidateSignatureError = 900005;
    public static int $ComputeSignatureError = 900006;
    public static int $EncryptAESError = 900007;
    public static int $DecryptAESError = 900008;
    public static int $ValidateSuiteKeyError = 900010;
}